<!--alist begin-->
<div class="clear"></div>

<div id="alist">
    	<div id="alist_left">
        	<dl>
            	<dt><span class="alist_left_title">文章列表</span></dt>
                <dd>
                <p><span class="location">当前位置：</span><?php echo $location ?></p>
                <ul id="alist_ul">
				<?php foreach($alist as $r){?>
					<li>
					<p class="title"><a href="article/show_article/<?php echo $r['Id']; ?>" target="_self"><?php echo $r['title']; ?></a><span class="time"><?php echo date('m月d日 h:m',$r['puttime']); ?></span></p>
					<p class="summary"><?php echo $r['summary']; ?><span><a href="#" target="_self">[查看全文]</a></span></p>
					<p></p>
					</li>
				<?php }?>
                </ul>
				<!--分页-->
                <div id="pagelist">
                <ul>
                <?php echo $this->pagination->create_links();?>
                </ul>
                </div>
                </dd>
                <div class="clear"></div>
            </dl>
        </div>
      <div id="alist_right">
      	<dl>
        	<dt>热门排行</dt>
            <dd>
				<ul id="mark">
                <?php $i=0; //初始化排序
                	  foreach($hotlist as $r){
					  $i++;//递增?>
                
                <li>
                <div class="markindex<?php echo $i; ?>" style="float:left">
                <span class="inum<?php echo $i; ?>"><?php echo $i; ?></span>
                <span class="marktit"><a target="_self"  title="<?php echo $r['title'] ?>" href="article/show_article/<?php echo $r['Id']; ?>"><?php echo $r['tit'] ?></a></span>
                </div>
                </li>
				<?php }?>
				</ul>
			</dd>
        </dl>
      </div>
    </div>
    <div class="clear"></div>
    <!--alist end-->